package com.yvan.demo.web1.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class DevController {

    @GetMapping("/dev/form.html")
    public ModelAndView form() {
        return new ModelAndView("/dev/form.ftl");
    }

    @GetMapping("/dev/icons.html")
    public ModelAndView icons() {
        return new ModelAndView("/dev/icons.ftl");
    }

    @GetMapping("/dev/button.html")
    public ModelAndView button() {
        return new ModelAndView("/dev/button.ftl");
    }

    @GetMapping("/dev/grid.html")
    public ModelAndView grid() {
        return new ModelAndView("/dev/grid.ftl");
    }

    @GetMapping("/dev/dialog.html")
    public ModelAndView dialog() {
        return new ModelAndView("/dev/dialog.ftl");
    }

    @GetMapping("/dev/dialog_1.html")
    public ModelAndView dialog_1() {
        return new ModelAndView("/dev/dialog_1.ftl");
    }
}
